package org.spring.boot.fusion.message;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
@RabbitListener(queues = "queue")
public class GetMessage {
	@RabbitHandler
	public void zhaoyna(String str) {
		System.out.println(str);
	}
}
